<script>
	export default {
		globalData: {},
		onLaunch: function() {
			// console.warn('App Launch：：：');
			const loginStorage = uni.getStorageSync('login');
			console.log("loginStorage = ", loginStorage);
			if (loginStorage.openid) {
				this.$store.commit('login/setLoginInfo', {
					...this.$store.state.login,
					...loginStorage,
				});
			}
		},
		onShow: function() {
			console.log('App Show');
		},
		onHide: function() {
			console.log('App Hide');
		}
	};
</script>

<style lang="scss">
	/*公共css */
	@import '@/uni_modules/uni-scss/index.scss';

	/* #ifndef APP-NVUE */
	@import '@/static/customicons.css';
	/* #endif */

	@import '@/common/css/page.css';


	.btnDefault {
		width: 650rpx;
		height: 98rpx;
		background: #1081ff;
		box-shadow: 0rpx 8rpx 16rpx 0rpx rgba(21, 99, 219, 0.2);
		border-radius: 49rpx;
		padding: 0;
		margin: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 28rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: #ffffff;
	}

	.btnDefault::before {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 100%;
		height: 100%;
		background-color: #000;
		border: inherit;
		border-color: #000;
		border-radius: inherit;
		transform: translate(-50%, -50%);
		opacity: 0;
		content: ' ';
	}

	.btnDefault::after {
		border: 1px solid rgba(0, 0, 0, 0);
	}

	.btnHover {
		opacity: 0.9;
	}

	.btnDefault:active::before {
		opacity: 0.1;
	}

	.scaleAni {
		animation: scaleAni 1.5s linear infinite;
	}

	.placeholder {
		font-weight: 500;
		font-size: 28rpx;
		color: #9a9a9a;
	}

	@keyframes scaleAni {
		0% {
			transform: scale(1);
		}

		50% {
			transform: scale(0.9);
		}

		100% {
			transform: scale(1);
		}
	}

	@keyframes heartbeatShake {

		0%,
		100% {
			transform: rotate(0deg) translateY(0);
		}

		15% {
			transform: rotate(2deg) translateY(-3px);
		}

		30% {
			transform: rotate(-1.8deg) translateY(1px);
		}

		45% {
			transform: rotate(1.5deg) translateY(-1px);
		}

		60% {
			transform: rotate(-1.2deg) translateY(0.5px);
		}

		75% {
			transform: rotate(0.8deg) translateY(-0.3px);
		}
	}

	::v-deep .uni-tabbar__icon {
		width: 18px !important;
		height: 18px !important;
	}

	.nodata {
		text-align: center;
		padding: 30rpx 0;
		color: #ccc;
		width: 400rpx;
		margin: 0 auto;
	}

	.nomore {
		color: #ccc;
		text-align: center;
		padding: 30rpx;
	}

	@keyframes slideUpAndShow {
		0% {
			opacity: 0;
		}

		100% {
			opacity: 1;
		}
	}
</style>